package com.culture.bootdemo.handler.handler4;

import com.culture.bootdemo.model.enums.Demo4Enum;
import com.google.common.collect.Maps;

import java.util.Map;

/**
 * @Author: wen
 * @DateTime: 2024/8/12 14:06
 * @Description:
 **/
public abstract class BaseHandler4 {

    public static final Map<Integer, BaseHandler4> activityStrategy4Map = Maps.newHashMap();


    public BaseHandler4(Demo4Enum type) {
        activityStrategy4Map.put(type.getCode(), this);
    }


    public abstract void deal();


}
